import {
  ADD_TAB_PAGE,
  SELECT_TAB_PAGE,
  DELETE_TAB_PAGE
} from './const';
export function addTabPage(title: string, url: string) {
  return { type: ADD_TAB_PAGE, title, url };
}

export function selectTabPage(title: string) {
  return { type: SELECT_TAB_PAGE, title };
}

export function deleteTabPage(title: string) {
  return { type: DELETE_TAB_PAGE, title };
}